package com.lsus.golkhadi.client;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.lsus.golkhadi.shared.Card;
import com.lsus.golkhadi.shared.Player;
import com.lsus.golkhadi.shared.Table;

public interface ICardServiceAsync {

	void clearTable(String sessionId, AsyncCallback<Boolean> callback);

	void getMyCards(String sessionId, AsyncCallback<List<Card>> callback);

	void getUpdatedTable(String sessionId, AsyncCallback<Table> callback);

	void suffle(String sessionId, AsyncCallback<Boolean> callback);

	void updateTableWithMyCard(Player player, Card myCard,
			AsyncCallback<Boolean> callback);

}
